Scottish energy minister Fergus Ewing has said that the UK government has been “surprised” by the level of reaction to proposed cuts to clean energy programmes, and revealed that he had been informed of hundreds of millions of pounds of investment now being withdrawn.